The Touch Simulator (that can be found here) allows you to simulate the touch messages that are sent by the Gameboard without having to build and run your application on a Gameboard.

Step-by-Step

Start the Simulator

When you start up the simulator, this will be the first screen you see.

You can leave all of the default values, the SDK is looking to connect to the ports with those default values. Click the start button to begin.

The transparent option is currently only available on Windows. (See Transparent Window Section)

Step-by-Step

Start your game

After the simulator is running, you can start your game that is connected to the Gameboard SDK. When your game starts and starts up the gameboard SDK, it will now be able to connect to the touch simulator that is running.

Simulate touches

You can now drag tokens and hand blades onto the middle of the screen that is simulating a gameboard screen. The touch events should now be picked up in your game.

Step-by-Step

Each token has a tokenId and a sessionId. The tokenId is always the same, indicating what shape is on the bottom of the token. The sessionId is updated with each movement.

Step-by-Step

You can add Handblades or Tokens with the buttons on the screen. When selecting to add a Token, you have a few options. Select from the dropdown before clicking Add Token to customize the generated token:

You can do the following actions:

If you want to adjust or move the simulator space to better align with the game underneath, you can do that with the following controls.

Size

Click the + or - icons to grow or shrink the simulator screen size. The screen will not grow larger than the application.

Location

You can drag the location of the simulator screen by holding CTRL and dragging the simulator space. Step-by-Step

By selecting the Transparent option, the Touch Simulator will be see through, so you have the option to put your game behind the simulator adjusted to the simulated touch surface to help with debugging touch interaction in your game.

The simulated surface will be slightly visible, so you can line up your game properly.

Step-by-Step